package com.zzyl.nursing.dto;

import org.springframework.format.annotation.DateTimeFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.time.LocalDateTime;

/**
 * 护理任务查询条件DTO
 */
@Data
@ApiModel("护理任务查询条件")
public class NursingTaskQueryDto {

    /**
     * 老人姓名
     */
    @ApiModelProperty(value = "老人姓名", example = "张三")
    private String elderName;

    /**
     * 结束时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "结束时间", example = "2025-10-20 00:00:00")
    private LocalDateTime endTime;

    /**
     * 护理员ID
     */
    @ApiModelProperty(value = "护理员ID", example = "1")
    private Long nurseId;

    /**
     * 页码
     */
    @ApiModelProperty(value = "页码", example = "1")
    private Integer pageNum;

    /**
     * 每页显示条数
     */
    @ApiModelProperty(value = "每页显示条数", example = "10")
    private Integer pageSize;

    /**
     * 护理项目ID
     */
    @ApiModelProperty(value = "护理项目ID", example = "1")
    private Long projectId;

    /**
     * 开始时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "开始时间", example = "2025-09-15 00:00:00")
    private LocalDateTime startTime;

    /**
     * 状态 (1待执行 2已执行 3已关闭)
     */
    @ApiModelProperty(value = "状态 (1待执行 2已执行 3已关闭)", example = "1")
    private Integer status;
}
